package smartt.styy.auth.model.request;

import com.fasterxml.jackson.annotation.JsonAutoDetect;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

@JsonAutoDetect(fieldVisibility = Visibility.ANY, getterVisibility = Visibility.NONE, setterVisibility = Visibility.NONE)
@JsonInclude(value = JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(ignoreUnknown = true)
public class ThirdRegisterReq {
	
	@ApiModelProperty(value = "IP地址", required = false)
	@Setter @Getter
	private String ip;
	
	@ApiModelProperty(value = "手机号", required = true)
	@Setter @Getter
	private String mobile;
	
	@ApiModelProperty(value = "短信验证码", required = true)
	@Setter @Getter
	private String smsCode;
	
	@ApiModelProperty(value = "用户类型  1:游客，2：导游，3：旅行社，4,：游企（景区，酒店），5：政府", required = true)
	@Setter @Getter
	private Integer userType;
	
	@JsonProperty("thridId")
	@ApiModelProperty(name = "thridId", value = "第三方登录id", required = true)
	@Setter @Getter
	private Integer thridId;
	
	@ApiModelProperty(value = "第三方账号", required = false)
	@Setter @Getter
	private String thirdAccount;
	
	@ApiModelProperty(value = "第三方账号类型（1：QQ,2:微信，3：微博，4：匿名）", required = false)
	@Setter @Getter
	private Integer thirdAccountType;
	
	@ApiModelProperty(value = "第三方账号信息", required = false)
	@Setter @Getter
	private String thirdInfo;
	
	@ApiModelProperty(value = "第三方账号昵称", required = false)
	@Setter @Getter
	private String thirdNickName;
	
	@ApiModelProperty(value = "第三方账号logoUrl", required = false)
	@Setter @Getter
	private String thirdLogoUrl;
	
	@ApiModelProperty(value = "sex 1是男2是女", required = false)
	@Setter @Getter
	private Integer sex;

}
